package com.hotelsystem.pojo;

import java.util.Date;

public class Customer {
    private Integer customerId;

    private String name;

    private String sex;

    private String phone;

    private String address;

    private Date birthday;

    private String idNumber;

    private String idType;

    private String nation;

    private Integer member;

    private Integer status;

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex == null ? null : sex.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getIdNumber() {
        return idNumber;
    }

    public void setIdNumber(String idNumber) {
        this.idNumber = idNumber == null ? null : idNumber.trim();
    }

    public String getIdType() {
        return idType;
    }

    public void setIdType(String idType) {
        this.idType = idType == null ? null : idType.trim();
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation == null ? null : nation.trim();
    }

    public Integer getMember() {
        return member;
    }

    public void setMember(Integer member) {
        this.member = member;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Customer() {
    }

    public Customer(Integer customerId, String name, String sex, String phone, String address, Date birthday, String idNumber, String idType, String nation, Integer member, Integer status) {
        this.customerId = customerId;
        this.name = name;
        this.sex = sex;
        this.phone = phone;
        this.address = address;
        this.birthday = birthday;
        this.idNumber = idNumber;
        this.idType = idType;
        this.nation = nation;
        this.member = member;
        this.status = status;
    }

    @Override
    public String toString() {
        return "Customer{" +
                "customerId=" + customerId +
                ", name='" + name + '\'' +
                ", sex='" + sex + '\'' +
                ", phone='" + phone + '\'' +
                ", address='" + address + '\'' +
                ", birthday=" + birthday +
                ", idNumber='" + idNumber + '\'' +
                ", idType='" + idType + '\'' +
                ", nation='" + nation + '\'' +
                ", member=" + member +
                ", status=" + status +
                '}';
    }
}